package com.wpw.dream.future;

public class FutureClient {

	FutureData futureData = new FutureData();
	public Data request(final Object param) {
		
		new Thread(new Runnable() {
			
			@Override
			public void run() {
				RealData realData = new RealData(param);
				realData.Handle();
				futureData.setRealData(realData);
				
			}
		}).start();
		
		return futureData;
	}
	
	

}
